//
//  Settings.h
//  Truffle
//
//  Created by Averbouch David on 05/03/10.
//  Copyright 2010 Averbouch. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Settings.h"
#import "Comments.h"
#import "DAOTruffle.h"‚

@class Settings;

@interface CommentsAdd : UIViewController {
	IBOutlet UITextView *commentaire;
	IBOutlet UILabel *moment;
	IBOutlet UILabel *pseudo;
	IBOutlet UIButton *champtxt;
	NSString *idServ;
	NSString *ipServ;
	Comments *comm;
	Settings *pref;
	DAOTruffle * dao;


}

@property (nonatomic, retain) UITextView *commentaire;
@property (nonatomic, retain) UIButton *champtxt;
@property (nonatomic, retain) UILabel *moment;
@property (nonatomic, retain) UILabel *pseudo;
@property (nonatomic, copy) Comments *comm;
@property (nonatomic, assign) NSString *idServ;
@property (nonatomic, assign) NSString *ipServ;
@property (nonatomic, copy) Settings *pref;

- (NSString *) jourHeure;
- (NSString *)urlEncodeValue:(NSString *)str;

@end
